package com.markerhub.service;

import com.markerhub.common.lang.Result;
import com.markerhub.exception.apiException.OrderException;

/**
 * @Author by MaXiaofeng
 * @Description 关于外卖柜订单的业务操作
 * @Date 2022/2/16 20:16
 * @Version 1.0.0
 */

public interface OrderService {

    Result makeOrder(int cabinet_id,String phone) throws OrderException;

    Result closeCabinetByMan(int cabinet_id, int cabinet_doorNum);

    Result takeFoodByCustomer(String phone);

    Result closeDoorByCustomer(int cabinet_id, int cabinet_doorNum);

    Result getHistoryOrder(int userId);
}
